home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 220 / 220.xpi / chrome / flashgot.jar / content / flashgot / flashgotOverlayTB.xul < prev    next >
Encoding:
Extensible Markup Language  |  2010-01-24  |  10.8 KB  |  276 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.  
  4.     FlashGot - a Firefox extension for external download managers integration
  5.     Copyright (C) 2004-2009 Giorgio Maone - g.maone@informaction.com
  6.  
  7.     This program is free software; you can redistribute it and/or modify
  8.     it under the terms of the GNU General Public License as published by
  9.     the Free Software Foundation; either version 2 of the License, or
  10.     (at your option) any later version.
  11.  
  12.     This program is distributed in the hope that it will be useful,
  13.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15.     GNU General Public License for more details.
  16.  
  17.     You should have received a copy of the GNU General Public License
  18.     along with this program; if not, write to the Free Software
  19.     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  20.  
  21. ***** END LICENSE BLOCK ***** -->
  22.  
  23. <!DOCTYPE overlay [
  24. <!ENTITY % flashgot SYSTEM "chrome://flashgot/locale/flashgot.dtd" >
  25. %flashgot;
  26. <!ENTITY % flashgotFB  SYSTEM "chrome://flashgot/content/en-US/flashgot.dtd" >
  27. %flashgotFB;
  28. ]
  29. >
  30.  
  31. <?xml-stylesheet href="chrome://flashgot/skin/browser.css" type="text/css"?>
  32. <overlay id="flashgotOverlay" 
  33.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  34.  
  35.  
  36. <script type="application/x-javascript" src="flashgotCommon.js"/>
  37. <script type="application/x-javascript" src="flashgotOverlay.js"/>
  38.  
  39. <keyset id="mailKeys">
  40.   <key id="flashgot-link-key" keycode="VK_F1" modifiers="accel" oncommand="gFlashGot.downloadLink()" />
  41.   <key id="flashgot-sel-key" keycode="VK_F2" modifiers="accel" oncommand="gFlashGot.delayCmd('Sel')"/>
  42.   <key id="flashgot-all-key" keycode="VK_F3" modifiers="accel" oncommand="gFlashGot.delayCmd('All')"/>
  43. </keyset>
  44.  
  45.  <menupopup id="taskPopup">
  46.   <menu id="flashgot-menu" label="FlashGot" insertbefore="prefSep"
  47.      class="menu-iconic flashgot-icon-lnk"
  48.   >
  49.   <menupopup id="flashgot-menu-popup" 
  50.     onpopupshowing="gFlashGot.prepareToolsMenu(event)">
  51.     <menuitem id="flashgot-main-menuitem-sel"
  52.         label="&flashgotSel;"  
  53.         accesskey="&flashgotSel.accesskey;"
  54.         oncommand="gFlashGot.delayCmd('Sel')"
  55.         key="flashgot-sel-key"
  56.         class="menuitem-iconic flashgot-icon-sel"
  57.         disabled="true"
  58.     />
  59.     <menuitem id="flashgot-main-menuitem-all"
  60.         label="&flashgotAll;" 
  61.         accesskey="&flashgotAll.accesskey;"
  62.         oncommand="gFlashGot.delayCmd('All')"
  63.         key="flashgot-all-key"
  64.         class="menuitem-iconic flashgot-icon-all"
  65.         disabled="true"
  66.         />
  67.     <menuitem id="flashgot-main-menuitem-buildGallery"
  68.       label="&flashgotBuildGallery;"
  69.       class="menuitem-iconic flashgot-icon-buildGallery"  
  70.       oncommand="gFlashGot.buildGallery()"
  71.       disabled="true"
  72.     />
  73.     <menuseparator />
  74.      <menuitem id="flashgot-main-menuitem-opt-autoStart"
  75.       label="&flashgotAutostart;"
  76.       type="checkbox"
  77.       oncommand="gFlashGot.switchOption('autoStart')"
  78.     />
  79.     <menuitem id="flashgot-main-menuitem-opt-includeImages"
  80.       label="&includeImages.label;"
  81.       type="checkbox"
  82.       oncommand="gFlashGot.switchOption('includeImages')"
  83.     />
  84.     <menuitem id="flashgot-main-menuitem-opts"
  85.       label="&flashgotMoreOpts;"
  86.       oncommand="gFlashGot.openOptionsDialog()"
  87.       class="menuitem-iconic flashgot-icon-opts"  
  88.     />
  89.     <menuseparator />
  90.     <menuitem id="flashgot-tb-about" label="&flashgotAbout;"
  91.       oncommand="gFlashGot.openAboutDialog()"
  92.     />
  93.     <menuitem id="flashgot-tb-homepage"
  94.               label="&flashgotVisitHomepage;"
  95.               oncommand="gFlashGot.browseHomePage()"
  96.             />
  97.   </menupopup>
  98.   </menu>
  99.  </menupopup>
  100.  
  101.  <popup id="messagePaneContext">
  102.    <menu id="flashgot-submenu" hidden="true" persist="hidden"
  103.       label="FlashGot" class="menu-iconic flashgot-icon-lnk"
  104.       >
  105.       <menupopup>
  106.         <menuseparator id="flashgot-submenu-anchor" hidden="true" />
  107.             <menuitem id="flashgot-menuitem-it"
  108.           label="&flashgotLink;" 
  109.           accesskey="&flashgotLink.accesskey;"
  110.           oncommand="gFlashGot.downloadPopupLink()"
  111.           key="flashgot-link-key"
  112.           class="menuitem-iconic flashgot-icon-lnk"
  113.         />
  114.         <menuitem id="flashgot-menuitem-sel"
  115.           label="&flashgotSel;"  
  116.           accesskey="&flashgotSel.accesskey;"
  117.           oncommand="gFlashGot.delayCmd('Sel')"
  118.           key="flashgot-sel-key"
  119.           class="menuitem-iconic flashgot-icon-sel"
  120.         />
  121.         <menuitem id="flashgot-menuitem-all" 
  122.             label="&flashgotAll;" 
  123.             accesskey="&flashgotAll.accesskey;"
  124.             oncommand="gFlashGot.delayCmd('All')"
  125.             key="flashgot-all-key"
  126.             class="menuitem-iconic flashgot-icon-all"
  127.           />
  128.         
  129.         <menuitem id="flashgot-menuitem-autotest" 
  130.           label="Autotest" hidden="true"
  131.           oncommand="gFlashGot.autotest()"
  132.         />  
  133.         <menuitem id="flashgot-menuitem-buildGallery"
  134.           label="&flashgotBuildGallery;"
  135.           class="menuitem-iconic flashgot-icon-buildGallery"  
  136.           oncommand="gFlashGot.buildGallery()"
  137.         />
  138.         <menu id="flashgot-menu-options"
  139.           class="menu-iconic flashgot-icon-opts"  
  140.           label="&flashgotOptions;" >
  141.           <menupopup id="flashgot-menupopup-options" onpopupshowing="gFlashGot.prepareOptsMenu(event.target)">
  142.             <menuitem id="flashgot-ctx-menuitem-nodms" hidden="true"
  143.               label="&flashgotNoDMS;"
  144.               oncommand="gFlashGotService.showDMSReference()"
  145.               />
  146.             <menuseparator id="flashgot-ctx-sep-nodms" />
  147.              <menuitem id="flashgot-ctx-menuitem-opt-autoStart"
  148.               label="&flashgotAutostart;"
  149.               type="checkbox"
  150.               oncommand="gFlashGot.switchOption('autoStart')"
  151.               />
  152.             <menuitem id="flashgot-ctx-menuitem-opt-includeImages"
  153.               label="&includeImages.label;"
  154.               type="checkbox"
  155.               oncommand="gFlashGot.switchOption('includeImages')"
  156.               />
  157.             <menuitem id="flashgot-ctx-menuitem-opts"
  158.               label="&flashgotMoreOpts;"
  159.               oncommand="gFlashGot.openOptionsDialog()"
  160.             />
  161.             <menuseparator id="flashgot-ctx-sep-about" />
  162.             <menuitem id="flashgot-ctx-menuitem-about"
  163.               label="&flashgotAbout;"
  164.               oncommand="gFlashGot.openAboutDialog()"
  165.             />
  166.             <menuitem id="flashgot-ctx-homepage"
  167.               label="&flashgotVisitHomepage;"
  168.               oncommand="gFlashGot.browseHomePage()"
  169.             />
  170.           </menupopup>
  171.         </menu>
  172.       </menupopup>
  173.    </menu>  
  174.    <menuseparator id="flashgot-context-separator" hidden="true" /> 
  175.    <menuseparator id="flashgot-context-separator2" hidden="true" />   
  176.   </popup>
  177.   
  178.   
  179.   <popup id="copyUrlPopup">
  180.     <menuitem id="flashgot-menuitem-copyUrl"
  181.           label="&flashgotLink;" 
  182.           accesskey="&flashgotLink.accesskey;"
  183.           oncommand="gFlashGot.downloadPopupNodeText()"
  184.           class="menuitem-iconic flashgot-icon-lnk"
  185.         />
  186.   </popup>
  187.   
  188.   <popup id="mailContext">
  189.    <menu id="flashgot-submenu" hidden="true" persist="hidden"
  190.       label="FlashGot" class="menu-iconic flashgot-icon-lnk"
  191.       >
  192.       <menupopup>
  193.         <menuseparator id="flashgot-submenu-anchor" hidden="true" />
  194.         <menuitem id="flashgot-menuitem-it"
  195.           label="&flashgotLink;" 
  196.           accesskey="&flashgotLink.accesskey;"
  197.           oncommand="gFlashGot.downloadPopupLink()"
  198.           key="flashgot-link-key"
  199.           class="menuitem-iconic flashgot-icon-lnk"
  200.         />
  201.         <menuitem id="flashgot-menuitem-sel"
  202.           label="&flashgotSel;"  
  203.           accesskey="&flashgotSel.accesskey;"
  204.           oncommand="gFlashGot.delayCmd('Sel')"
  205.           key="flashgot-sel-key"
  206.           class="menuitem-iconic flashgot-icon-sel"
  207.         />
  208.         <menuitem id="flashgot-menuitem-all" 
  209.             label="&flashgotAll;" 
  210.             accesskey="&flashgotAll.accesskey;"
  211.             oncommand="gFlashGot.delayCmd('All')"
  212.             key="flashgot-all-key"
  213.             class="menuitem-iconic flashgot-icon-all"
  214.           />
  215.         
  216.         <menuitem id="flashgot-menuitem-autotest" 
  217.           label="Autotest" hidden="true"
  218.           oncommand="gFlashGot.autotest()"
  219.         />  
  220.         <menuitem id="flashgot-menuitem-buildGallery"
  221.           label="&flashgotBuildGallery;"
  222.           class="menuitem-iconic flashgot-icon-buildGallery"  
  223.           oncommand="gFlashGot.buildGallery()"
  224.         />
  225.         <menu id="flashgot-menu-options"
  226.           class="menu-iconic flashgot-icon-opts"  
  227.           label="&flashgotOptions;" >
  228.           <menupopup id="flashgot-menupopup-options" onpopupshowing="gFlashGot.prepareOptsMenu(event.target)">
  229.             <menuitem id="flashgot-ctx-menuitem-nodms" hidden="true"
  230.               label="&flashgotNoDMS;"
  231.               oncommand="gFlashGotService.showDMSReference()"
  232.               />
  233.             <menuseparator id="flashgot-ctx-sep-nodms" />
  234.              <menuitem id="flashgot-ctx-menuitem-opt-autoStart"
  235.               label="&flashgotAutostart;"
  236.               type="checkbox"
  237.               oncommand="gFlashGot.switchOption('autoStart')"
  238.               />
  239.             <menuitem id="flashgot-ctx-menuitem-opt-includeImages"
  240.               label="&includeImages.label;"
  241.               type="checkbox"
  242.               oncommand="gFlashGot.switchOption('includeImages')"
  243.               />
  244.             <menuitem id="flashgot-ctx-menuitem-opts"
  245.               label="&flashgotMoreOpts;"
  246.               oncommand="gFlashGot.openOptionsDialog()"
  247.             />
  248.             <menuseparator id="flashgot-ctx-sep-about" />
  249.             <menuitem id="flashgot-ctx-menuitem-about"
  250.               label="&flashgotAbout;"
  251.               oncommand="gFlashGot.openAboutDialog()"
  252.             />
  253.             <menuitem id="flashgot-ctx-homepage"
  254.               label="&flashgotVisitHomepage;"
  255.               oncommand="gFlashGot.browseHomePage()"
  256.             />
  257.           </menupopup>
  258.         </menu>
  259.       </menupopup>
  260.    </menu>  
  261.    <menuseparator id="flashgot-context-separator" hidden="true" /> 
  262.    <menuseparator id="flashgot-context-separator2" hidden="true" />   
  263.   </popup>
  264.   
  265.   
  266.   <statusbar id="status-bar">
  267.     <statusbarpanel id="flashgot-progresspanel" insertafter="flashgot-statusbarpanel,statusbar-progresspanel,statusbar-display" 
  268.       class="statusbarpanel-progress" collapsed="true">
  269.       <label plain="true" value="FlashGot" />
  270.       <progressmeter id="flashgot-progressmeter" class="progressmeter-status" mode="normal" value="0" />
  271.     </statusbarpanel>
  272.      
  273.   </statusbar>
  274.   
  275. </overlay>
  276.